#!/usr/bin/make -f

LDFLAGS+=-Wl,-z,defs -Wl,--as-needed
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
	CFLAGS += -O0
else
	CFLAGS += -O2
endif

%:
	dh $@

override_dh_strip:
	dh_strip --dbg-package=ffmpegthumbnailer-dbg

get-orig-source:
	-uscan --rename --upstream-version 0
	@echo successfully retrieved upstream tarball
